package com.itheima.travel.mapperExt;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 *
 */
@Mapper
public interface RouteMapperExt {
    // 根据id修改收藏次数
    @Update("update tab_route set attention_count = attention_count + 1 where id = #{routeId,jdbcType=BIGINT}")
    Long updateRouteCountById(Long routeId);
}
